//-----------------------------------------------------------------------
// <copyright file="a_VoteLogBase.cs" company="AACECOM">
//     Copyright (c) AACECOM. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ThoiTrang.Entities
{
	[Serializable]
	public class a_VoteLogBase
	{
		
		#region Variable Declarations
		private int				vid = 0;
		private int				rid = 0;
		private string				cookieID = string.Empty;
		private int				qID_Comment = 0;
		private DateTime				voteDate = new DateTime(1900,1,1,0,0,0,0);
		private string				ip = string.Empty;
		private int				optionID = 0;
		#endregion
		
		#region Constructors
		public a_VoteLogBase() {}
		
		public a_VoteLogBase (
			int vid,
			int rid,
			string cookieID,
			int qID_Comment,
			DateTime voteDate,
			string ip,
			int optionID)
		
		{
			this.vid = vid;
			this.rid = rid;
			this.cookieID = cookieID;
			this.qID_Comment = qID_Comment;
			this.voteDate = voteDate;
			this.ip = ip;
			this.optionID = optionID;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int VID
		{
			get { return vid; }
			set { vid = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int RID
		{
			get { return rid; }
			set { rid = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string CookieID
		{
			get { return cookieID; }
			set { cookieID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int QID_Comment
		{
			get { return qID_Comment; }
			set { qID_Comment = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime VoteDate
		{
			get { return voteDate; }
			set { voteDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string IP
		{
			get { return ip; }
			set { ip = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int OptionID
		{
			get { return optionID; }
			set { optionID = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum a_VoteLogColumns
	{
		VID,
		RID,
		CookieID,
		QID_Comment,
		VoteDate,
		IP,
		OptionID
	}//End enum
}